home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / menu-methods / gnome-vfolder-user < prev   
Encoding:
Text File  |  2006-10-17  |  1.1 KB  |  44 lines

  1. #!/usr/bin/install-menu
  2. # gnome-vfolder based on:
  3. # Also used as /etc/menu-methods/menu-xdg
  4. # Copyright 2004 - Chris Cheney <ccheney@debian.org>
  5. # Licensed under the GNU General Public License, version 2.
  6.  
  7. !include menu.h
  8.  
  9. compat="menu-2"
  10. outputencoding="UTF-8";
  11. outputlanguage="C";
  12.  
  13. function DirEntry() =
  14.     "    <Name>" translate("",title()) "</Name>\n"
  15.         "    <Desktop>" "debian" replacewith(tolower($section),"/","-") ".directory" "</Desktop>\n";
  16.  
  17. function desktop() = prefix() "/../../.local/share/applications/menu-xdg/X-Debian" replacewith($basesection,"/","-") "-" tolower(replacewith($title,"/ ","__") ".desktop");
  18.  
  19. supported;
  20.  x11 = "<Include>" desktop() "</Include>\n";
  21.  text = "<Include>" desktop() "</Include>\n";
  22. endsupported;
  23.  
  24. startmenu = "  <Folder>\n" DirEntry();
  25. endmenu = "  </Folder>\n";
  26. submenutitle = "";
  27.  
  28. treewalk = "(M)";
  29.  
  30. genmenu = "applications.debmenu";
  31. rcfile = "applications.vfolder-info";
  32. examplercfile="applications.template";
  33. mainmenutitle="Debian-user";
  34.  
  35. rootsection = "";
  36.  
  37. onlyrunasuser=true;
  38. userprefix = ".gnome2/vfolders";
  39. rootprefix = "/etc/gnome-vfs-2.0/vfolders";
  40.  
  41. preoutput = "";
  42. postoutput = "";
  43.  
  44.